package com.jy.oms.framework.asyn.task.queue.redis.bo;

import com.jy.oms.framework.asyn.task.model.TaskDto;

/**
 * redis task
 *
 * @author liuquan
 */
public class RedisTaskBo {

    private TaskDto taskDto;

    /**
     * 已执行次数
     */
    private int callCount;

    /**
     * 任务参数标识
     */
    private String paramIdentifier;

    public TaskDto getTaskDto() {
        return taskDto;
    }

    public RedisTaskBo setTaskDto(TaskDto taskDto) {
        this.taskDto = taskDto;
        return this;
    }

    public String getParamIdentifier() {
        return paramIdentifier;
    }

    public RedisTaskBo setParamIdentifier(String paramIdentifier) {
        this.paramIdentifier = paramIdentifier;
        return this;
    }

    public int getCallCount() {
        return callCount;
    }

    public RedisTaskBo setCallCount(int callCount) {
        this.callCount = callCount;
        return this;
    }
}
